#ifndef PERSONSTAFFINFORMATION_H
#define PERSONSTAFFINFORMATION_H

#include <QList>
#include "person.h"

class PersonStaffInformation : public Person
{
public:
    PersonStaffInformation();
    PersonStaffInformation(const QString staffID, const QString staffName,
            const QString staffGender, const QString staffBirthday,
            const QString entryDate, const QString staffAge,
            const QString wage, const QString staffTel,
            const QString staffAdress, const QString remark)
        :Person(staffID, staffName, staffGender,
                staffBirthday, staffAge, staffTel, staffAdress)
    {
        m_entryDate = entryDate;
        m_wage = wage;
        m_remark = remark;
    }

    PersonStaffInformation & operator =(const PersonStaffInformation &other)
    {
        if (this == &other)
            return *this;
        Person::operator = (other);
        m_entryDate = other.m_entryDate;
        m_wage = other.m_wage;
        m_remark = other.m_remark;
        return *this;
    }

    QString get_entryDate() const {return m_entryDate;}
    QString get_wage() const {return m_wage;}
    QString get_remark() const {return m_remark;}

private:
    QString m_entryDate;
    QString m_wage;
    QString m_remark;
};

typedef QList <PersonStaffInformation> staffInformationList;
#endif // PERSONSTAFFINFORMATION_H
